package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Author WEN
 * @Date 2023/8/23 0023
 **/
@Data
@ApiModel(value = "字段内容选项")
public class CodeFieldContentVo {
    @ApiModelProperty(value = "字段内容ID，新增不必传，修改必传")
    private Long id;

    @Length(max = 20, message = "单选/多选内容限制10个字符以内")
    @ApiModelProperty(value = "单选/多选内容")
    private String val;
}
